package com.cmcc.pcap.packet.util.pfcpUtile;

public class PfcpTypeFactory {

    public static PfcpTypeUtil getPfcpType(int pfcpType) {
//        if(pfcpType==null||pfcpType==""){
//            return null;
//        }
        switch (pfcpType){
            case 60:
                return new NodeIDUtil();
            case 19:
                return new CauseUtil();
            case 96:
                return new RecoveryTimeStampUtil();
            case 89:
                return new CPFunctionFeaturesUtil();
            case 43:
                return new UPFunctionFeaturesUtil();
            case 116:
                return new UserPlaneIPResourceInformationUtil();
            case 57:
                return new FSEIDUtil();
            default:
                return null;
        }
    }
}
